package com.xhdx.pattern.bridge;
/**
 * 形状类：该类为一个抽象类，主要提供画形状的方法 
 *
 */
public abstract class Shape {
    IColor color;
 
    public void setColor(IColor color) {
        this.color = color;
    }
    
    public abstract void draw();
}
